package MyGO.Form;

import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PatientInfoForm {
    private String id;
    private String name;  //
    private Integer year;  //年
    private Integer month; //月
    private Integer day; //日
    private String birthDay;  //
    private String idNum;  //身份证
    private String address;  //
    private String gender;  //

//    private StringProperty nameProperty = new SimpleStringProperty();
//    private IntegerProperty ageProperty = new SimpleIntegerProperty();
//    private StringProperty birthDayProperty = new SimpleStringProperty();
//    private StringProperty idNumProperty = new SimpleStringProperty();
//    private StringProperty addressProperty = new SimpleStringProperty();
//    private StringProperty genderProperty = new SimpleStringProperty();

//    public StringProperty getnamePro() {return this.nameProperty; }
//    public IntegerProperty getAfePro() {return this.ageProperty; }
//    public StringProperty getBirthDayPro() {return this.birthDayProperty; }
//    public StringProperty getIdNumPro() {return this.idNumProperty; }
//    public StringProperty getAddressPro() {return this.addressProperty; }
//    public StringProperty getGenderPro() {return this.genderProperty; }
//
//    public String getNamePro() {return this.nameProperty.get();}
//    public Integer getAgePro() {return this.ageProperty.get(); }
}
